<?php

  /**
  * QuickSkin Extension current_datetime
  * Print Current Date and Time
  *
  * Usage Example:
  * Template: Time: {current_datetime:}
  * Result:   Time: 30.01.2003 - 12:46:00
  *
  * @author Philipp v. Criegern philipp@criegern.de
  * CVS ID: $Id: smarttemplate_extension_current_datetime.php,v 1.2 2006/04/30 19:56:04 endelwar Exp $
  */
  function quickskin_ext_current_datetime ()
  {
    global $_CONFIG;

    if (empty($_CONFIG['datetime_format']))
    {
      $_CONFIG['datetime_format']  =  'd.m.Y H:i:s';
    }
    return date( $_CONFIG['datetime_format'] );
  }

?>
